package com.net.xpay.core.domain.auto;

import com.net.common.domain.VersionedDomain;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 自动打款商家自收款账号
 */
@Getter
@Setter
@NoArgsConstructor
public class AutoPayReceiptAccount extends VersionedDomain {

    @ApiModelProperty(notes = "用户id")
    private Long userId;

    @ApiModelProperty(notes = "收款方账号，传入支付宝账号或者支付宝uid test@taobao.com 必选")
    private String identity;

    @ApiModelProperty(notes = "1.当identity传入支付宝账号时，identity_type传ALIPAY_LOGON_ID 2.当当identity传入支付宝uid时，identity_type传ALIPAY_USER_ID 3.TAOBAO_NICKNAME 旺旺 必选")
    private String identityType;

    @ApiModelProperty(notes = "真实姓名")
    private String name;

    @ApiModelProperty(notes = "备注")
    private String remark;

    @ApiModelProperty(notes = "收款次数")
    private Long receiptCount;

    @ApiModelProperty(notes = "是否已被删除")
    private Integer isDeleted;
}
